package com.cw.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cw.entity.Windows;
import com.cw.entity.dto.WindowsDto;
import com.cw.service.WindowsService;
import com.cw.mapper.WindowsMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author BerNardShaw
* @description 针对表【windows(窗口表)】的数据库操作Service实现
* @createDate 2022-11-09 11:28:21
*/
@Service
public class WindowsServiceImpl extends ServiceImpl<WindowsMapper, Windows>
    implements WindowsService{

    @Override
    public List<WindowsDto> getList() {
        return this.baseMapper.getList();
    }

    @Override
    public Page<WindowsDto> queryPage(Page<WindowsDto> windowsDtoPage, String name) {
        return this.baseMapper.queryPage(windowsDtoPage,name);
    }
}




